<?php 
require_once('./inc/config.php');
$main = new Config("localhost", "root", "", "dwarfcms", "Title", "Description");
$main->connect();
?>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<meta name="generator" content="<?php echo $main->getvar("version"); ?>">
		<title><?php echo $main->getvar("site_name"); ?></title>
		<link rel="stylesheet" href="./themes/default/style.css" type="text/css" media="screen">
	</head>
	<body>
		<div id="header">
			&nbsp;
		</div>
		<div id="container">
			<h1><?php echo $main->getvar("site_name"); ?></h1>
			<p><?php echo $main->getvar("site_description"); ?></p>
			<?php $main->showblog(); ?>
		</div>
	</body>
</html>
<?php $main->bye(); ?>